package com.ssy.oppo.service.Impl;

import com.ssy.oppo.model.dao.GoodMapper;
import com.ssy.oppo.model.pojo.Good;
import com.ssy.oppo.model.pojo.SecGood;
import com.ssy.oppo.service.GoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author: 苏少有的idea
 * @date:   2021/11/24
 * @description  Good(商品)的实现类
 */
@Service
public class GoodServiceImpl implements GoodService {
    @Autowired
    GoodMapper goodMapper;

    @Override
    public List<Good> selectAllGood() {
        return goodMapper.selectAllGood();
    }


}
